<ul id="menu">
  <?
		foreach ( $this->menu as $v ) :
			if ($v):
			?>
  <li><a href="<?=$v['url']?>">
    <?=$v['name']?>
    </a>
    <?
			if (isset ( $v['baby'] )) :
				?>
    <ul>
      <?
				foreach ( $v['baby'] as $vv ) :
					 if ($vv) :?>
      <li><a href="<?=$vv['url']?>">
        <?=$vv['name']?>
        </a></li>
      <?endif; 
				endforeach;
				?>
    </ul>
    <?
			endif;
			?>
  </li>
  <?endif;
		endforeach;
		?>
</ul>
